home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / include / regbag.h < prev    next >
C/C++ Source or Header  |  2001-10-08  |  5KB  |  194 lines

  1.  
  2. #pragma warning( disable: 4049 )  /* more than 64k source lines */
  3.  
  4. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  5.  
  6.  
  7.  /* File created by MIDL compiler version 6.00.0347 */
  8. /* Compiler settings for regbag.idl:
  9.     Oicf, W1, Zp8, env=Win32 (32b run)
  10.     protocol : dce , ms_ext, c_ext, robust
  11.     error checks: allocation ref bounds_check enum stub_data 
  12.     VC __declspec() decoration level: 
  13.          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  14.          DECLSPEC_UUID(), MIDL_INTERFACE()
  15. */
  16. //@@MIDL_FILE_HEADING(  )
  17.  
  18.  
  19. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  20. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  21. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  22. #endif
  23.  
  24. #include "rpc.h"
  25. #include "rpcndr.h"
  26.  
  27. #ifndef __RPCNDR_H_VERSION__
  28. #error this stub requires an updated version of <rpcndr.h>
  29. #endif // __RPCNDR_H_VERSION__
  30.  
  31. #ifndef COM_NO_WINDOWS_H
  32. #include "windows.h"
  33. #include "ole2.h"
  34. #endif /*COM_NO_WINDOWS_H*/
  35.  
  36. #ifndef __regbag_h__
  37. #define __regbag_h__
  38.  
  39. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  40. #pragma once
  41. #endif
  42.  
  43. /* Forward Declarations */ 
  44.  
  45. #ifndef __ICreatePropBagOnRegKey_FWD_DEFINED__
  46. #define __ICreatePropBagOnRegKey_FWD_DEFINED__
  47. typedef interface ICreatePropBagOnRegKey ICreatePropBagOnRegKey;
  48. #endif     /* __ICreatePropBagOnRegKey_FWD_DEFINED__ */
  49.  
  50.  
  51. /* header files for imported files */
  52. #include "objidl.h"
  53. #include "oaidl.h"
  54. #include "ocidl.h"
  55.  
  56. #ifdef __cplusplus
  57. extern "C"{
  58. #endif 
  59.  
  60. void * __RPC_USER MIDL_user_allocate(size_t);
  61. void __RPC_USER MIDL_user_free( void * ); 
  62.  
  63. /* interface __MIDL_itf_regbag_0000 */
  64. /* [local] */ 
  65.  
  66. //+-------------------------------------------------------------------------
  67. //
  68. //  Microsoft Windows
  69. //  Copyright (C) Microsoft Corporation, 1999-2001.
  70. //
  71. //--------------------------------------------------------------------------
  72. #pragma once
  73.  
  74.  
  75. extern RPC_IF_HANDLE __MIDL_itf_regbag_0000_v0_0_c_ifspec;
  76. extern RPC_IF_HANDLE __MIDL_itf_regbag_0000_v0_0_s_ifspec;
  77.  
  78. #ifndef __ICreatePropBagOnRegKey_INTERFACE_DEFINED__
  79. #define __ICreatePropBagOnRegKey_INTERFACE_DEFINED__
  80.  
  81. /* interface ICreatePropBagOnRegKey */
  82. /* [local][unique][helpstring][uuid][restricted][hidden][object] */ 
  83.  
  84.  
  85. EXTERN_C const IID IID_ICreatePropBagOnRegKey;
  86.  
  87. #if defined(__cplusplus) && !defined(CINTERFACE)
  88.     
  89.     MIDL_INTERFACE("8A674B48-1F63-11d3-B64C-00C04F79498E")
  90.     ICreatePropBagOnRegKey : public IUnknown
  91.     {
  92.     public:
  93.         virtual HRESULT STDMETHODCALLTYPE Create( 
  94.             /* [in] */ HKEY hkey,
  95.             /* [in] */ LPCOLESTR subkey,
  96.             /* [in] */ DWORD ulOptions,
  97.             /* [in] */ DWORD samDesired,
  98.             REFIID iid,
  99.             /* [out] */ LPVOID *ppBag) = 0;
  100.         
  101.     };
  102.     
  103. #else     /* C style interface */
  104.  
  105.     typedef struct ICreatePropBagOnRegKeyVtbl
  106.     {
  107.         BEGIN_INTERFACE
  108.         
  109.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  110.             ICreatePropBagOnRegKey * This,
  111.             /* [in] */ REFIID riid,
  112.             /* [iid_is][out] */ void **ppvObject);
  113.         
  114.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  115.             ICreatePropBagOnRegKey * This);
  116.         
  117.         ULONG ( STDMETHODCALLTYPE *Release )( 
  118.             ICreatePropBagOnRegKey * This);
  119.         
  120.         HRESULT ( STDMETHODCALLTYPE *Create )( 
  121.             ICreatePropBagOnRegKey * This,
  122.             /* [in] */ HKEY hkey,
  123.             /* [in] */ LPCOLESTR subkey,
  124.             /* [in] */ DWORD ulOptions,
  125.             /* [in] */ DWORD samDesired,
  126.             REFIID iid,
  127.             /* [out] */ LPVOID *ppBag);
  128.         
  129.         END_INTERFACE
  130.     } ICreatePropBagOnRegKeyVtbl;
  131.  
  132.     interface ICreatePropBagOnRegKey
  133.     {
  134.         CONST_VTBL struct ICreatePropBagOnRegKeyVtbl *lpVtbl;
  135.     };
  136.  
  137.     
  138.  
  139. #ifdef COBJMACROS
  140.  
  141.  
  142. #define ICreatePropBagOnRegKey_QueryInterface(This,riid,ppvObject)    \
  143.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  144.  
  145. #define ICreatePropBagOnRegKey_AddRef(This)    \
  146.     (This)->lpVtbl -> AddRef(This)
  147.  
  148. #define ICreatePropBagOnRegKey_Release(This)    \
  149.     (This)->lpVtbl -> Release(This)
  150.  
  151.  
  152. #define ICreatePropBagOnRegKey_Create(This,hkey,subkey,ulOptions,samDesired,iid,ppBag)    \
  153.     (This)->lpVtbl -> Create(This,hkey,subkey,ulOptions,samDesired,iid,ppBag)
  154.  
  155. #endif /* COBJMACROS */
  156.  
  157.  
  158. #endif     /* C style interface */
  159.  
  160.  
  161.  
  162. HRESULT STDMETHODCALLTYPE ICreatePropBagOnRegKey_Create_Proxy( 
  163.     ICreatePropBagOnRegKey * This,
  164.     /* [in] */ HKEY hkey,
  165.     /* [in] */ LPCOLESTR subkey,
  166.     /* [in] */ DWORD ulOptions,
  167.     /* [in] */ DWORD samDesired,
  168.     REFIID iid,
  169.     /* [out] */ LPVOID *ppBag);
  170.  
  171.  
  172. void __RPC_STUB ICreatePropBagOnRegKey_Create_Stub(
  173.     IRpcStubBuffer *This,
  174.     IRpcChannelBuffer *_pRpcChannelBuffer,
  175.     PRPC_MESSAGE _pRpcMessage,
  176.     DWORD *_pdwStubPhase);
  177.  
  178.  
  179.  
  180. #endif     /* __ICreatePropBagOnRegKey_INTERFACE_DEFINED__ */
  181.  
  182.  
  183. /* Additional Prototypes for ALL interfaces */
  184.  
  185. /* end of Additional Prototypes */
  186.  
  187. #ifdef __cplusplus
  188. }
  189. #endif
  190.  
  191. #endif
  192.  
  193.  
  194.